:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: #131523;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input,
select {
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

#app {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0 auto;
}

.main {
  flex-grow: 1;
  background-color: #F5F6FA;
}

.container {
  width: 1440px;
  margin: 0 auto;
}

a,
RouterView {
  font-weight: 500;
  color: rgb(90, 96, 127);
  font-size: 14px;
  text-decoration: inherit;
  cursor: pointer;
}

a:hover,
RouterView:hover {
  box-shadow: 0px 1px 4px 0px rgba(21, 34, 50, 0.08);
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.active {
  background-color: #1E5EFF;
  color: #FFF;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #131523;
    background-color: #F5F6FA;
  }

  a:hover,
  RouterView:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}